<div class="detailsBox">
	<div class="openBox detaiTab">
		<form action="/pay/saves" class="action-ajax-form"
			data-action-html="#action_load_body" method="post" id="entity">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<input name="id" id="id" type="hidden" value="${o2oPayEntity.id}"  />
					<td class="bg" align="right" width="15%">贷款单号:</td>
					<td width="35%">
					${o2oPayEntity.billCode}
					<input name="loanBillCode" id="loanBillCode" type="hidden" value="${o2oPayEntity.billCode}" readonly="readonly" />
					</td>
					<td class="bg" align="right" width="15%">借款人:</td>
					<td>
					${o2oPayEntity.borrowerName}
					<input name="loanUserName" id="loanUserName" type="hidden" value="${o2oPayEntity.borrowerName}" readonly="readonly" />
					</td>
				</tr>
				<tr >
					<td class="bg" align="right" width="15%">放款日期:</td>
					<td width="35%">
					${loanEntity.paymentTime?string("yyyy-MM-dd")}
					<input name="loanTime" id="loanTime" class="tabInp" type="hidden" value="${loanEntity.paymentTime}" readonly="readonly" />
					</td>
					<td class="bg" align="right" width="15%">借款期限:</td>
					<td>
					${loanEntity.loanTerm}
					<input name="loanTerm" id="loanTerm" class="tabInp" type="hidden" value="${loanEntity.loanTerm}" readonly="readonly" />
					<input name="type" type="hidden" id="sas" value=""/>
					</td>
				</tr>
				<tr >
					<td class="bg" align="right" width="15%">到期日:</td>
					<td width="35%">
					${loanEntity.endBankDate?string("yyyy-MM-dd")}
					<input name="endBankDate" id="endBankDate" class="tabInp" type="hidden" value="${loanEntity.endBankDate}" readonly="readonly" />
					</td>
      			     <td align="right" class="bg" width="15%">付款类型<span style="color: red;">*</span>：</td>
      				<td ><@select dataSouceType="FK_PAY_TTPE" name="payFkType" class="tabInp" value="${o2oPayEntity.payFkType}"  /> <span style="color: red;">实付需要资金部付款,虚付无需资金部付款</span> </td>
				</tr>
				<tr >
					<td colspan="4" style="text-align: center;">
							<input type="submit" value="保存" class="btn_auto_30 btn_blue" id="sv"/> &nbsp;&nbsp;&nbsp;&nbsp; 
							<input type="button" value="保存并提交" onclick="saveAndStart();" class="ajax btn_auto_30 btn_blue"> &nbsp;&nbsp;&nbsp;&nbsp; 
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>
<script type="text/javascript">

	function saveAndStart(){
		$("#sas").val("SAS")
		$("#sv").click();
	}
</script>